<?php include_once('../layouts/header.php') ?>
<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'center',split:true,border:false">
        <div class="container">
            <fieldset><legend><code>组合网格 combogrid</code></legend></fieldset>
            <form id="form-combogrid"
             data-options="
                form:{
                    url:'/data/index.php?type=test',
                    id:'#form-combogrid',
                },
             ">
                <input class="easyui-combogrid" name="dept[]"
                    data-options="
                    width:'100%',
                    required:true,
                    idField:'PModelNo',
                    textField:'POrderNo',
                    multiple: true,
                    mode:'remote',
                    showClear:true,
                    url:'/data/index.php?type=table',
                    columns:[[
                    {field:'ItemId',checkbox:true},
                    {field:'PNo',title:'产品编号',width:80},
                    {field:'POrderNo',title:'产品订货号',width:150},
                    {field:'Punit',title:'计量单位',width:60},
                    {field:'Pseries',title:'产品系列',width:60},
                    {field:'PCreateTime',title:'生产时间',width:130}
                    ]]
                    ">
                <button type="button" class="btn btn-primary btn-block" onclick="$.submitForm(this)">保存</button>
            </form>
        </div>
    </div>
</div>

<?php include_once('../layouts/footer.php') ?>